# -*- mode: snippet -*-
# name: Beamer Template (16:9; solarized)
# key: beamer
# group: templates
# expand-env: ((yas-indent-line 'fixed))
# --
\documentclass[xcolor={dvipsnames},aspectratio=169]{beamer}
% options: presentation,notes,handout; aspectratio=169,1610,149,54,43,32

% Theme settings (require "beamercolorthemesolarized.sty")
\usecolortheme[dark,accent=cyan]{solarized}
\beamertemplatetransparentcovered

% Beamer settings
\usefonttheme{professionalfonts} % use lmodern mathfont; "serif"
\setbeamertemplate{navigation symbols}{}
\setbeamertemplate{footline}[frame number]
\setbeamerfont{footline}{size=\footnotesize}

% Citation settings
\usepackage{bibentry}           % use \footnote{\bibentry{}}
\bibliographystyle{apalike}     % abbrv;apalike
\newcommand{\footcite}[1]{\footnote{\tiny\bibentry{#1}}}
\newcommand{\textcite}[1]{\footnotetext{\tiny\bibentry{#1}}} % put \footnotemark first
% removing line breaks between title, journal, etc.
\setbeamertemplate{bibliography entry title}{}
\setbeamertemplate{bibliography entry location}{}
\setbeamertemplate{bibliography entry note}{}

% Packages
\usepackage{latexsym, amsmath, amssymb, amsfonts,
            arydshln, mathrsfs, mathtools, upgreek}
\usepackage{graphicx,subcaption,tikz}
  \captionsetup[figure]{textfont=scriptsize,labelfont=scriptsize}
  \setbeamerfont{caption}{size=\scriptsize}
\usepackage{algorithm,algpseudocode}
\usepackage{appendixnumberbeamer}

% Math symbol definitions
% \input{userdef-mathsym}

% PDF meta info
\hypersetup{
  pdftitle={},
  pdfauthor={Zuogong YUE},
  pdfsubject={},
  pdfcreator={Emacs version 25.1 + AUCTeX version 11.90}}


% Title Page
\title[]{${1:title}}
\subtitle{${2:}}
\author[]{\vspace*{1mm}\small \\\Zuogong Yue$^1$, Johan Thunberg$^1$,
                     Jorge Goncalves$^1$}
\institute[]{
    \begin{tabular}{ll}
       $^1$ \\{University of Luxembourg,\\\
       \hphantom{$^1$ \\}}Luxembourg Centre for System Biomedicine (LCSB),\\\
       \hphantom{$^1$ \\}}Systems Control Group\\}\\\[2ex]
       %
       % $^2$ \\{KTH Royal Institute of Technology,\\\
       % \hphantom{$^2$ \\}}Department of Mathematics,\\\
       % \hphantom{$^2$ \\}}Division of Optimization \\& Systems Theory\\}
    \end{tabular}}
\date
  {\hspace*{-11mm}\small 14 July 2016 $\cdot$ MTNS 2016 $\cdot$ Minneapolis, MN}

% Table of Contents before each section
\AtBeginSection[]{
\begin{frame}
  \frametitle{Outline}
  \tableofcontents[currentsection]
\end{frame}
}


\begin{document}

% ---- Title Page ----
\setbeamertemplate{footline}{}              % remove page number
\begin{frame}
  \titlepage
  \nobibliography{./ref/library}            % enable /bibentry/: citations as footnotes
\end{frame}
\setbeamertemplate{footline}[frame number]  % reset page number
\setcounter{framenumber}{0}


% ---- Main Part ----

$0



% ---- Thanks Frame ----
\section*{Thanks}
\setbeamertemplate{footline}{}  % remove page number

\begin{frame}
    \vspace*{1cm}
    \begin{center}
      {\Huge \bf \textcolor{solarizedAccent}{Thank you!}}
    \end{center}
\end{frame}

% ---- Appendix ----
% \appendix
% \begin{frame}
%   \frametitle{Appendix: ...}
%
% \end{frame}

% ---- Bibliography ----
% using /bibentry/; adding bibliography as footnote at each page
% include bibtex libraries in front of any citations; Line 103

\end{document}